package com.ss.android.auto.launch.tasks.collector

import java.util.concurrent.atomic.AtomicBoolean

/**
 *  @author zhongxinyuan @ ByteDance Inc
 *  @since   2023/2/1
 */
class SubTask(val innerTask: () -> Unit, val name: String = "") {
    val isStarted: AtomicBoolean = AtomicBoolean(false)
    var startTime: Long = 0
    var endTime: Long = 0
    var duration: Long = 0
}